<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/commons/global.jsp" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'accessToProgramReport.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

	<!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
	<link rel="stylesheet" href="${staticPath }/static/bootstrap/bootstrap.min.css" />

	<!-- 可选的 Bootstrap 主题文件（一般不用引入） -->
	<link rel="stylesheet" href="${staticPath }/static/bootstrap/bootstrap-theme.min.css" />
  </head>
  <body>
    <div style="width:75%;  margin: 0 auto;margin-top:25px"  >
    	<div style="margin-top:10px;text-align: right; margin-bottom:15px">
			<a href="/haierp1/bi/freight/selectBiFavourableByMonth" style="padding-left:5px;"><input type="button" value="切换到非小程序代理下单"/></a>
		</div>
    	<h4>新用户进入小程序方式(单位：人)，<span style="color:blue">总人数:${totalNumber}人</span>会比微信统计上面的人多，因为有人会删除我们的小程序。</h4>
    	<h4>原始码:微信平台默认小程序码；分享码:通过接口生成的小程序码(例：短信活动、扇子活动、销售分享)</h4>
  		<table class="table table-bordered">
  			<tr class="info">
  				<td>日期</td>
  				<td>好友转发</td>
  				<td>扫原始码</td>
  				<td>扫分享码 </td>
  			</tr>
			<c:forEach items="${accessToProgramsList}" var="accessToProgramsList" varStatus="status">
		 		<tr >
		    	<td>${accessToProgramsList.dimensionDateStr}</td>
		    	<td>${accessToProgramsList.wxForward}</td>
		    	<td>${accessToProgramsList.scanCode}</td>
		    	<td>${accessToProgramsList.shareCode}</td>
		  		</tr>
			</c:forEach>
		</table>
	</div>
  </body>
</html>
